package org.meetunexpectedly.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.mail.SimpleMailMessage;

/**
 * @Description: 邮箱配置类
 * @Author: pupil
 * @Date: 2024/08/05 下午 6:49
 */
@Configuration
public class EmailConfig {

    @Bean
    public SimpleMailMessage simpleMailMessage(){
        return new SimpleMailMessage();
    }
}
